package chain

import "fmt"

func LogChain(head *ListNode){
	for head!=nil{
		fmt.Print(head.value)
		head=head.next
	}
	fmt.Println("  end")
}
